﻿<UserControl xmlns:my="clr-namespace:Bxf.Xaml;assembly=Bxf"  x:Class="UsingBxfPan.Views.EditCustomer"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    xmlns:bxf="clr-namespace:Bxf.Xaml;assembly=Bxf"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    d:DesignHeight="480" d:DesignWidth="480">

  <Grid x:Name="LayoutRoot" Margin="10">
    <StackPanel>
      <TextBlock Text="Id"/>
      <TextBox Text="{Binding Path=Id}" />
      <TextBlock Text="Name" />
      <TextBox Text="{Binding Path=Name}" />
      <Button Content="Error" Name="ErrorButton" />
      <Button Content="Status" Name="StatusButton" />
      <bxf:TriggerAction TargetControl="{Binding ElementName=ErrorButton}" MethodName="ShowAnError" />
      <bxf:TriggerAction TargetControl="{Binding ElementName=StatusButton}" MethodName="ShowSomeStatus" />
    </StackPanel>
  </Grid>
</UserControl>
